Special

Name Generated expression Description Expression example Ex

ClassCount

ClassCount(direction,
discrete property)

Numerate cells with the same discrete property value in specified direction.

This function is available only for grids, seismic volumes.

ClassCount(Iincr, $Zone$)

52

value

value(property,
north index,
east index,
depth index,
default value)

Get property value from cell with specified indices.

This function is available only for unfaulted grids, seismic volumes.

value($C$, triMesh, "H")

53

offset

offset(property,
north offset in cells,
east offset in cells,
depth offset in cells,
default value)

Shift defined property using specified indices offsets.

This function is available only for unfaulted grids, seismic volumes.

offset($C$, 1, 1, 1)

offset($C$, 1, 1, 1, 0)

50, 51

valueIJK

valueIJK(property,
I index,
J index,
K index,
default value)

Get property value from cell with specified indices.

This function is available only for unfaulted grids, seismic volumes.

value($C$, triMesh, "H")

54

offsetIJK

offsetIJK(property,
I offset,
J offset,
K offset,
default value)

Shift defined property using specified indices offsets.

This function is available only for unfaulted grids, seismic volumes.

offset($C$, 1, 1, 1)

offset($C$, 1, 1, 1, 0)

offsetV

offsetV(property,
x, y, z, default value)

offsetV(property,
offset, default value)

Shift property using specified offset vector(x,y,z).

This function is available only for grids, seismic volumes, 3D-meshes and wellbores.

offsetV($C$, 100.0, 0, 0)

49

The functions value/offset and valueIJK/offsetIJK, are basically the same. Both work with indices, the former deals with north, east, depth indices, the latter with i, j, k indices.

In the offsetV function the offset is specified as a vector length distance. You can specify this vector length by entering distance values for the X, Y and Z directions in the parameter window. It is also possible to specify the x,y,z, distances in another way yourself. For instance, in example 53, shift is defined as 10 times another grid cell property.

Example 49 Offset function for wellbore

Input log

offsetV($Test$, 135, 0)

 

Example 50 Offset function for seismic cube

offset( $Seismic Attribute$, 0, 0, voxelNorthIndex * (NorthMaxIndex - voxelNorthIndex) / 20)

     click to enlarge

     click to enlarge

 

Example 51 Offset function for grid

Input property    click to enlarge

offsetV($P$, $East$ * 10, 0, 0)    click to enlarge

 

Example 52 Class count example

$Test$    click to enlarge

ClassCount(Jincr, $Test$)    click to enlarge

 

Example 53 Value function for regular grid (derivation simulation)

$T$    click to enlarge

value( $T$, $North$, $East$ + 1, $LayerId$) -
value( $T$, $North$, $East$ - 1, $LayerId$)    click to enlarge

 

Example 54 Value function for seismic

(value( $Seismic Attribute$, voxelNorthIndex, voxelEastIndex, voxelTimeIndex - 2, 0.0)  +

value( $Seismic Attribute$, voxelNorthIndex, voxelEastIndex, voxelTimeIndex - 1, 0.0)  +

value( $Seismic Attribute$, voxelNorthIndex, voxelEastIndex, voxelTimeIndex , 0.0)  +

value( $Seismic Attribute$, voxelNorthIndex, voxelEastIndex, voxelTimeIndex + 1, 0.0)  +

value( $Seismic Attribute$, voxelNorthIndex, voxelEastIndex, voxelTimeIndex + 2, 0.0)) / 5.0

     click to enlarge

     click to enlarge